home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
SourceCode
/
AdobeExamples
/
NX_CtlPoints
/
ControlPointWraps.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-19
|
37KB
|
1,077 lines
/* ControlPointWraps.c generated from ControlPointWraps.psw
by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989
*/
#include <dpsclient/dpsfriends.h>
#include <string.h>
#line 1 "ControlPointWraps.psw"
/*
* (a) (C) 1990 by Adobe Systems Incorporated. All rights reserved.
*
* (b) If this Sample Code is distributed as part of the Display PostScript
* System Software Development Kit from Adobe Systems Incorporated,
* then this copy is designated as Development Software and its use is
* subject to the terms of the License Agreement attached to such Kit.
*
* (c) If this Sample Code is distributed independently, then the following
* terms apply:
*
* (d) This file may be freely copied and redistributed as long as:
* 1) Parts (a), (d), (e) and (f) continue to be included in the file,
* 2) If the file has been modified in any way, a notice of such
* modification is conspicuously indicated.
*
* (e) PostScript, Display PostScript, and Adobe are registered trademarks of
* Adobe Systems Incorporated.
*
* (f) THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO
* CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED
* AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED.
* ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY
* OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO
* WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY)
* WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY
* DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT
* OF THIRD PARTY RIGHTS.
*/
/*
* ControlPointWraps.psw
*
* Version: 2.0
* Author: Ken Fromm
* History:
* 03-07-91 Added this comment.
*/
/* This wrap is called in the +new method to define and bind procedures. */
#line 52 "ControlPointWraps.c"
void PSWDefsContPts( void )
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
DPSBinObjGeneric obj8;
DPSBinObjGeneric obj9;
DPSBinObjGeneric obj10;
DPSBinObjGeneric obj11;
DPSBinObjGeneric obj12;
DPSBinObjGeneric obj13;
DPSBinObjGeneric obj14;
DPSBinObjGeneric obj15;
DPSBinObjGeneric obj16;
DPSBinObjGeneric obj17;
DPSBinObjGeneric obj18;
DPSBinObjGeneric obj19;
DPSBinObjGeneric obj20;
DPSBinObjGeneric obj21;
DPSBinObjGeneric obj22;
DPSBinObjGeneric obj23;
DPSBinObjGeneric obj24;
DPSBinObjGeneric obj25;
DPSBinObjGeneric obj26;
DPSBinObjGeneric obj27;
DPSBinObjGeneric obj28;
DPSBinObjGeneric obj29;
DPSBinObjGeneric obj30;
DPSBinObjGeneric obj31;
DPSBinObjGeneric obj32;
DPSBinObjGeneric obj33;
DPSBinObjGeneric obj34;
DPSBinObjGeneric obj35;
DPSBinObjGeneric obj36;
DPSBinObjGeneric obj37;
DPSBinObjGeneric obj38;
DPSBinObjGeneric obj39;
DPSBinObjGeneric obj40;
DPSBinObjGeneric obj41;
DPSBinObjGeneric obj42;
DPSBinObjGeneric obj43;
DPSBinObjGeneric obj44;
DPSBinObjGeneric obj45;
DPSBinObjGeneric obj46;
DPSBinObjGeneric obj47;
DPSBinObjGeneric obj48;
DPSBinObjGeneric obj49;
DPSBinObjGeneric obj50;
DPSBinObjGeneric obj51;
DPSBinObjGeneric obj52;
DPSBinObjGeneric obj53;
DPSBinObjGeneric obj54;
DPSBinObjGeneric obj55;
DPSBinObjGeneric obj56;
DPSBinObjGeneric obj57;
DPSBinObjGeneric obj58;
DPSBinObjGeneric obj59;
DPSBinObjGeneric obj60;
DPSBinObjGeneric obj61;
DPSBinObjGeneric obj62;
DPSBinObjGeneric obj63;
DPSBinObjGeneric obj64;
DPSBinObjGeneric obj65;
DPSBinObjGeneric obj66;
DPSBinObjGeneric obj67;
DPSBinObjGeneric obj68;
DPSBinObjGeneric obj69;
DPSBinObjGeneric obj70;
DPSBinObjGeneric obj71;
DPSBinObjGeneric obj72;
DPSBinObjGeneric obj73;
DPSBinObjGeneric obj74;
DPSBinObjGeneric obj75;
DPSBinObjGeneric obj76;
DPSBinObjGeneric obj77;
DPSBinObjGeneric obj78;
DPSBinObjGeneric obj79;
DPSBinObjGeneric obj80;
DPSBinObjGeneric obj81;
DPSBinObjGeneric obj82;
DPSBinObjGeneric obj83;
DPSBinObjGeneric obj84;
DPSBinObjGeneric obj85;
DPSBinObjGeneric obj86;
DPSBinObjGeneric obj87;
DPSBinObjGeneric obj88;
DPSBinObjReal obj89;
DPSBinObjReal obj90;
DPSBinObjGeneric obj91;
DPSBinObjGeneric obj92;
DPSBinObjGeneric obj93;
DPSBinObjGeneric obj94;
DPSBinObjGeneric obj95;
DPSBinObjGeneric obj96;
DPSBinObjGeneric obj97;
DPSBinObjGeneric obj98;
DPSBinObjGeneric obj99;
DPSBinObjGeneric obj100;
DPSBinObjGeneric obj101;
DPSBinObjGeneric obj102;
DPSBinObjGeneric obj103;
DPSBinObjGeneric obj104;
DPSBinObjGeneric obj105;
DPSBinObjGeneric obj106;
DPSBinObjGeneric obj107;
DPSBinObjGeneric obj108;
DPSBinObjGeneric obj109;
DPSBinObjGeneric obj110;
DPSBinObjGeneric obj111;
DPSBinObjGeneric obj112;
DPSBinObjGeneric obj113;
DPSBinObjGeneric obj114;
DPSBinObjGeneric obj115;
DPSBinObjGeneric obj116;
DPSBinObjReal obj117;
DPSBinObjGeneric obj118;
DPSBinObjGeneric obj119;
DPSBinObjReal obj120;
DPSBinObjGeneric obj121;
DPSBinObjGeneric obj122;
DPSBinObjReal obj123;
DPSBinObjGeneric obj124;
DPSBinObjGeneric obj125;
DPSBinObjReal obj126;
DPSBinObjGeneric obj127;
DPSBinObjGeneric obj128;
DPSBinObjGeneric obj129;
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 28, 1044,
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* NOP */
{DPS_EXEC|DPS_ARRAY, 0, 0, 1040},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* SA */
{DPS_EXEC|DPS_ARRAY, 0, 14, 928},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* RSA */
{DPS_EXEC|DPS_ARRAY, 0, 6, 880},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* BRF */
{DPS_EXEC|DPS_ARRAY, 0, 23, 696},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* BRS */
{DPS_EXEC|DPS_ARRAY, 0, 23, 512},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* BX */
{DPS_EXEC|DPS_ARRAY, 0, 18, 368},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* BC */
{DPS_EXEC|DPS_ARRAY, 0, 18, 224},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 14}, /* bind */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 2},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_LITERAL|DPS_INT, 0, 0, 2},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22}, /* closepath */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_REAL, 0, 0, -1.5},
{DPS_LITERAL|DPS_REAL, 0, 0, -1.5},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 134}, /* rmoveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 3},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 3},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -3},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, -3},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22}, /* closepath */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 55}, /* dtransform */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 137}, /* round */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 137}, /* round */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 83}, /* idtransform */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 172}, /* transform */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.25},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169}, /* sub */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 137}, /* round */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.25},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.25},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169}, /* sub */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 137}, /* round */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.25},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 95}, /* itransform */
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
static long int _dpsCodes[29] = {-1};
{
if (_dpsCodes[0] < 0) {
static const char * const _dps_names[] = {
"NOP",
"SA",
"RSA",
"BRF",
"BRS",
"BX",
"BC",
"sa",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
"rsa",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 };
long int *_dps_nameVals[29];
_dps_nameVals[0] = &_dpsCodes[0];
_dps_nameVals[1] = &_dpsCodes[1];
_dps_nameVals[2] = &_dpsCodes[2];
_dps_nameVals[3] = &_dpsCodes[3];
_dps_nameVals[4] = &_dpsCodes[4];
_dps_nameVals[5] = &_dpsCodes[5];
_dps_nameVals[6] = &_dpsCodes[6];
_dps_nameVals[7] = &_dpsCodes[7];
_dps_nameVals[8] = &_dpsCodes[8];
_dps_nameVals[9] = &_dpsCodes[9];
_dps_nameVals[10] = &_dpsCodes[10];
_dps_nameVals[11] = &_dpsCodes[11];
_dps_nameVals[12] = &_dpsCodes[12];
_dps_nameVals[13] = &_dpsCodes[13];
_dps_nameVals[14] = &_dpsCodes[14];
_dps_nameVals[15] = &_dpsCodes[15];
_dps_nameVals[16] = &_dpsCodes[16];
_dps_nameVals[17] = &_dpsCodes[17];
_dps_nameVals[18] = &_dpsCodes[18];
_dps_nameVals[19] = &_dpsCodes[19];
_dps_nameVals[20] = &_dpsCodes[20];
_dps_nameVals[21] = &_dpsCodes[21];
_dps_nameVals[22] = &_dpsCodes[22];
_dps_nameVals[23] = &_dpsCodes[23];
_dps_nameVals[24] = &_dpsCodes[24];
_dps_nameVals[25] = &_dpsCodes[25];
_dps_nameVals[26] = &_dpsCodes[26];
_dps_nameVals[27] = &_dpsCodes[27];
_dps_nameVals[28] = &_dpsCodes[28];
DPSMapNames(_dpsCurCtxt, 29, _dps_names, _dps_nameVals);
}
}
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[0].val.nameVal = _dpsCodes[0];
_dpsP[4].val.nameVal = _dpsCodes[1];
_dpsP[8].val.nameVal = _dpsCodes[2];
_dpsP[12].val.nameVal = _dpsCodes[3];
_dpsP[16].val.nameVal = _dpsCodes[4];
_dpsP[20].val.nameVal = _dpsCodes[5];
_dpsP[24].val.nameVal = _dpsCodes[6];
_dpsP[28].val.nameVal = _dpsCodes[7];
_dpsP[87].val.nameVal = _dpsCodes[8];
_dpsP[64].val.nameVal = _dpsCodes[9];
_dpsP[46].val.nameVal = _dpsCodes[10];
_dpsP[32].val.nameVal = _dpsCodes[11];
_dpsP[107].val.nameVal = _dpsCodes[12];
_dpsP[103].val.nameVal = _dpsCodes[13];
_dpsP[99].val.nameVal = _dpsCodes[14];
_dpsP[95].val.nameVal = _dpsCodes[15];
_dpsP[91].val.nameVal = _dpsCodes[16];
_dpsP[84].val.nameVal = _dpsCodes[17];
_dpsP[80].val.nameVal = _dpsCodes[18];
_dpsP[76].val.nameVal = _dpsCodes[19];
_dpsP[72].val.nameVal = _dpsCodes[20];
_dpsP[68].val.nameVal = _dpsCodes[21];
_dpsP[62].val.nameVal = _dpsCodes[22];
_dpsP[58].val.nameVal = _dpsCodes[23];
_dpsP[54].val.nameVal = _dpsCodes[24];
_dpsP[50].val.nameVal = _dpsCodes[25];
_dpsP[44].val.nameVal = _dpsCodes[26];
_dpsP[40].val.nameVal = _dpsCodes[27];
_dpsP[36].val.nameVal = _dpsCodes[28];
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,1044);
}
#line 84 "ControlPointWraps.psw"
/* Rounds the points passed in to device space. */
#line 432 "ControlPointWraps.c"
void PSWSetIndependent( void )
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 8, 68,
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* SA */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 100}, /* load */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* RSA */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 100}, /* load */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
static long int _dpsCodes[4] = {-1};
{
if (_dpsCodes[0] < 0) {
static const char * const _dps_names[] = {
"sa",
"SA",
"rsa",
"RSA"};
long int *_dps_nameVals[4];
_dps_nameVals[0] = &_dpsCodes[0];
_dps_nameVals[1] = &_dpsCodes[1];
_dps_nameVals[2] = &_dpsCodes[2];
_dps_nameVals[3] = &_dpsCodes[3];
DPSMapNames(_dpsCurCtxt, 4, _dps_names, _dps_nameVals);
}
}
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[0].val.nameVal = _dpsCodes[0];
_dpsP[1].val.nameVal = _dpsCodes[1];
_dpsP[4].val.nameVal = _dpsCodes[2];
_dpsP[5].val.nameVal = _dpsCodes[3];
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,68);
}
#line 90 "ControlPointWraps.psw"
/* Does not perform any adjustment to the points. */
#line 493 "ControlPointWraps.c"
void PSWSetDependent( void )
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 8, 68,
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* NOP */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 100}, /* load */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* NOP */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 100}, /* load */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
static long int _dpsCodes[4] = {-1};
{
if (_dpsCodes[0] < 0) {
static const char * const _dps_names[] = {
"sa",
"NOP",
(char *) 0 ,
"rsa"};
long int *_dps_nameVals[4];
_dps_nameVals[0] = &_dpsCodes[0];
_dps_nameVals[1] = &_dpsCodes[1];
_dps_nameVals[2] = &_dpsCodes[2];
_dps_nameVals[3] = &_dpsCodes[3];
DPSMapNames(_dpsCurCtxt, 4, _dps_names, _dps_nameVals);
}
}
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[0].val.nameVal = _dpsCodes[0];
_dpsP[1].val.nameVal = _dpsCodes[1];
_dpsP[5].val.nameVal = _dpsCodes[2];
_dpsP[4].val.nameVal = _dpsCodes[3];
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,68);
}
#line 96 "ControlPointWraps.psw"
#line 552 "ControlPointWraps.c"
void PSWDefineFont(char *fontname)
{
typedef struct {
unsigned char tokenType;
unsigned char sizeFlag;
unsigned short topLevelCount;
unsigned long nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
DPSBinObjGeneric obj8;
DPSBinObjGeneric obj9;
DPSBinObjGeneric obj10;
DPSBinObjGeneric obj11;
DPSBinObjGeneric obj12;
DPSBinObjGeneric obj13;
DPSBinObjGeneric obj14;
DPSBinObjGeneric obj15;
DPSBinObjGeneric obj16;
DPSBinObjGeneric obj17;
DPSBinObjGeneric obj18;
DPSBinObjGeneric obj19;
DPSBinObjGeneric obj20;
DPSBinObjGeneric obj21;
DPSBinObjGeneric obj22;
DPSBinObjGeneric obj23;
DPSBinObjGeneric obj24;
DPSBinObjGeneric obj25;
DPSBinObjGeneric obj26;
DPSBinObjGeneric obj27;
DPSBinObjGeneric obj28;
DPSBinObjGeneric obj29;
DPSBinObjGeneric obj30;
DPSBinObjGeneric obj31;
DPSBinObjGeneric obj32;
DPSBinObjGeneric obj33;
DPSBinObjGeneric obj34;
DPSBinObjGeneric obj35;
DPSBinObjGeneric obj36;
DPSBinObjGeneric obj37;
DPSBinObjGeneric obj38;
DPSBinObjGeneric obj39;
DPSBinObjGeneric obj40;
DPSBinObjGeneric obj41;
DPSBinObjGeneric obj42;
DPSBinObjGeneric obj43;
DPSBinObjGeneric obj44;
DPSBinObjGeneric obj45;
DPSBinObjGeneric obj46;
DPSBinObjGeneric obj47;
DPSBinObjGeneric obj48;
DPSBinObjGeneric obj49;
DPSBinObjGeneric obj50;
DPSBinObjGeneric obj51;
DPSBinObjGeneric obj52;
DPSBinObjGeneric obj53;
DPSBinObjGeneric obj54;
DPSBinObjGeneric obj55;
DPSBinObjGeneric obj56;
DPSBinObjGeneric obj57;
DPSBinObjGeneric obj58;
DPSBinObjGeneric obj59;
DPSBinObjGeneric obj60;
DPSBinObjGeneric obj61;
DPSBinObjGeneric obj62;
DPSBinObjGeneric obj63;
DPSBinObjGeneric obj64;
DPSBinObjGeneric obj65;
DPSBinObjGeneric obj66;
DPSBinObjGeneric obj67;
DPSBinObjGeneric obj68;
DPSBinObjGeneric obj69;
DPSBinObjGeneric obj70;
DPSBinObjGeneric obj71;
DPSBinObjGeneric obj72;
DPSBinObjGeneric obj73;
DPSBinObjGeneric obj74;
DPSBinObjGeneric obj75;
DPSBinObjGeneric obj76;
DPSBinObjGeneric obj77;
DPSBinObjGeneric obj78;
DPSBinObjGeneric obj79;
DPSBinObjGeneric obj80;
DPSBinObjGeneric obj81;
DPSBinObjGeneric obj82;
DPSBinObjGeneric obj83;
DPSBinObjGeneric obj84;
DPSBinObjGeneric obj85;
DPSBinObjGeneric obj86;
DPSBinObjGeneric obj87;
DPSBinObjGeneric obj88;
DPSBinObjGeneric obj89;
DPSBinObjGeneric obj90;
DPSBinObjGeneric obj91;
DPSBinObjGeneric obj92;
DPSBinObjGeneric obj93;
DPSBinObjGeneric obj94;
DPSBinObjGeneric obj95;
DPSBinObjGeneric obj96;
DPSBinObjGeneric obj97;
DPSBinObjGeneric obj98;
DPSBinObjGeneric obj99;
DPSBinObjGeneric obj100;
DPSBinObjGeneric obj101;
DPSBinObjGeneric obj102;
DPSBinObjGeneric obj103;
DPSBinObjGeneric obj104;
DPSBinObjGeneric obj105;
DPSBinObjGeneric obj106;
DPSBinObjGeneric obj107;
DPSBinObjGeneric obj108;
DPSBinObjGeneric obj109;
DPSBinObjGeneric obj110;
DPSBinObjGeneric obj111;
DPSBinObjGeneric obj112;
DPSBinObjGeneric obj113;
DPSBinObjGeneric obj114;
DPSBinObjGeneric obj115;
DPSBinObjGeneric obj116;
DPSBinObjGeneric obj117;
DPSBinObjGeneric obj118;
DPSBinObjGeneric obj119;
DPSBinObjGeneric obj120;
DPSBinObjGeneric obj121;
DPSBinObjGeneric obj122;
DPSBinObjGeneric obj123;
DPSBinObjGeneric obj124;
DPSBinObjGeneric obj125;
DPSBinObjGeneric obj126;
DPSBinObjGeneric obj127;
DPSBinObjGeneric obj128;
DPSBinObjGeneric obj129;
DPSBinObjGeneric obj130;
DPSBinObjGeneric obj131;
DPSBinObjGeneric obj132;
DPSBinObjGeneric obj133;
DPSBinObjGeneric obj134;
DPSBinObjGeneric obj135;
DPSBinObjGeneric obj136;
DPSBinObjGeneric obj137;
DPSBinObjGeneric obj138;
DPSBinObjGeneric obj139;
DPSBinObjGeneric obj140;
DPSBinObjGeneric obj141;
DPSBinObjGeneric obj142;
DPSBinObjGeneric obj143;
DPSBinObjGeneric obj144;
DPSBinObjGeneric obj145;
DPSBinObjGeneric obj146;
DPSBinObjGeneric obj147;
DPSBinObjGeneric obj148;
DPSBinObjGeneric obj149;
DPSBinObjGeneric obj150;
DPSBinObjGeneric obj151;
DPSBinObjGeneric obj152;
DPSBinObjGeneric obj153;
DPSBinObjGeneric obj154;
DPSBinObjGeneric obj155;
DPSBinObjGeneric obj156;
DPSBinObjGeneric obj157;
DPSBinObjGeneric obj158;
DPSBinObjGeneric obj159;
DPSBinObjGeneric obj160;
DPSBinObjGeneric obj161;
DPSBinObjGeneric obj162;
DPSBinObjGeneric obj163;
DPSBinObjGeneric obj164;
DPSBinObjGeneric obj165;
DPSBinObjGeneric obj166;
DPSBinObjGeneric obj167;
DPSBinObjGeneric obj168;
DPSBinObjGeneric obj169;
DPSBinObjGeneric obj170;
DPSBinObjGeneric obj171;
DPSBinObjGeneric obj172;
DPSBinObjGeneric obj173;
DPSBinObjGeneric obj174;
DPSBinObjGeneric obj175;
DPSBinObjGeneric obj176;
DPSBinObjGeneric obj177;
DPSBinObjReal obj178;
DPSBinObjGeneric obj179;
DPSBinObjGeneric obj180;
DPSBinObjReal obj181;
DPSBinObjGeneric obj182;
DPSBinObjGeneric obj183;
char obj184[5];
char obj185[1];
char obj186[1];
char obj187[1];
char obj188[1];
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 0, 79, 1489,
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 53}, /* dict */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* FontName */
{DPS_LITERAL|DPS_NAME, 0, 0, 1481}, /* param fontname */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* FontType */
{DPS_LITERAL|DPS_INT, 0, 0, 3},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* FontMatrix */
{DPS_LITERAL|DPS_ARRAY, 0, 6, 1424},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* FontBBox */
{DPS_LITERAL|DPS_ARRAY, 0, 4, 1392},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Encoding */
{DPS_LITERAL|DPS_INT, 0, 0, 256},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 9}, /* array */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_LITERAL|DPS_INT, 0, 0, 255},
{DPS_EXEC|DPS_ARRAY, 0, 4, 1360},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 72}, /* for */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* Encoding */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */
{DPS_LITERAL|DPS_STRING, 0, 1, 1480},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Rectfill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */
{DPS_LITERAL|DPS_STRING, 0, 1, 1479},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Rectstroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */
{DPS_LITERAL|DPS_STRING, 0, 1, 1478},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Ximage */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_LITERAL|DPS_STRING, 0, 1, 1477},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Crossstroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* CharProcs */
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 53}, /* dict */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* CharProcs */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* .notdef */
{DPS_EXEC|DPS_ARRAY, 0, 0, 1360},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Rectfill */
{DPS_EXEC|DPS_ARRAY, 0, 18, 1216},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Rectstroke */
{DPS_EXEC|DPS_ARRAY, 0, 18, 1072},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Ximage */
{DPS_EXEC|DPS_ARRAY, 0, 12, 920},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* Crossstroke */
{DPS_EXEC|DPS_ARRAY, 0, 17, 784},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* BuildChar */
{DPS_EXEC|DPS_ARRAY, 0, 19, 632},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
{DPS_LITERAL|DPS_NAME, 0, 0, 1481}, /* param fontname */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 290}, /* definefont */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 117}, /* pop */
{DPS_LITERAL|DPS_INT, 0, 0, 500},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -750},
{DPS_LITERAL|DPS_INT, 0, 0, -750},
{DPS_LITERAL|DPS_INT, 0, 0, 750},
{DPS_LITERAL|DPS_INT, 0, 0, 750},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 144}, /* setcachedevice */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
{DPS_LITERAL|DPS_BOOL, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 350}, /* setstrokeadjust */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* Encoding */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* CharProcs */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 63}, /* exec */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 400},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -800},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, -400},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 800},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167}, /* stroke */
{DPS_LITERAL|DPS_INT, 0, 0, -500},
{DPS_LITERAL|DPS_INT, 0, 0, -500},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_LITERAL|DPS_INT, 0, 0, 1000},
{DPS_LITERAL|DPS_INT, 0, 0, 1000},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_BOOL, 0, 0, 1},
{DPS_LITERAL|DPS_ARRAY, 0, 6, 1024},
{DPS_EXEC|DPS_ARRAY, 0, 1, 1016},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 87}, /* imagemask */
{DPS_LITERAL|DPS_STRING, 0, 5, 1472},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -400},
{DPS_LITERAL|DPS_INT, 0, 0, -400},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 800},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 800},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -800},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22}, /* closepath */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167}, /* stroke */
{DPS_LITERAL|DPS_INT, 0, 0, -300},
{DPS_LITERAL|DPS_INT, 0, 0, -300},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* sa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 600},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 600},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, -600},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* rsa */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 133}, /* rlineto */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22}, /* closepath */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* Encoding */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* .notdef */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_LITERAL|DPS_INT, 0, 0, -500},
{DPS_LITERAL|DPS_INT, 0, 0, -500},
{DPS_LITERAL|DPS_INT, 0, 0, 500},
{DPS_LITERAL|DPS_INT, 0, 0, 500},
{DPS_LITERAL|DPS_REAL, 0, 0, .001},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_REAL, 0, 0, .001},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{0x88,0x50,0x20,0x50,0x88},
{'d'},
{'c'},
{'b'},
{'a'},
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
static long int _dpsCodes[34] = {-1};
register int _dps_offset = 1481;
{
if (_dpsCodes[0] < 0) {
static const char * const _dps_names[] = {
"FontName",
"FontType",
"FontMatrix",
"FontBBox",
"Encoding",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
"Rectfill",
(char *) 0 ,
"Rectstroke",
(char *) 0 ,
"Ximage",
(char *) 0 ,
"Crossstroke",
(char *) 0 ,
"CharProcs",
(char *) 0 ,
(char *) 0 ,
".notdef",
(char *) 0 ,
"BuildChar",
"sa",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
"rsa",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 };
long int *_dps_nameVals[34];
_dps_nameVals[0] = &_dpsCodes[0];
_dps_nameVals[1] = &_dpsCodes[1];
_dps_nameVals[2] = &_dpsCodes[2];
_dps_nameVals[3] = &_dpsCodes[3];
_dps_nameVals[4] = &_dpsCodes[4];
_dps_nameVals[5] = &_dpsCodes[5];
_dps_nameVals[6] = &_dpsCodes[6];
_dps_nameVals[7] = &_dpsCodes[7];
_dps_nameVals[8] = &_dpsCodes[8];
_dps_nameVals[9] = &_dpsCodes[9];
_dps_nameVals[10] = &_dpsCodes[10];
_dps_nameVals[11] = &_dpsCodes[11];
_dps_nameVals[12] = &_dpsCodes[12];
_dps_nameVals[13] = &_dpsCodes[13];
_dps_nameVals[14] = &_dpsCodes[14];
_dps_nameVals[15] = &_dpsCodes[15];
_dps_nameVals[16] = &_dpsCodes[16];
_dps_nameVals[17] = &_dpsCodes[17];
_dps_nameVals[18] = &_dpsCodes[18];
_dps_nameVals[19] = &_dpsCodes[19];
_dps_nameVals[20] = &_dpsCodes[20];
_dps_nameVals[21] = &_dpsCodes[21];
_dps_nameVals[22] = &_dpsCodes[22];
_dps_nameVals[23] = &_dpsCodes[23];
_dps_nameVals[24] = &_dpsCodes[24];
_dps_nameVals[25] = &_dpsCodes[25];
_dps_nameVals[26] = &_dpsCodes[26];
_dps_nameVals[27] = &_dpsCodes[27];
_dps_nameVals[28] = &_dpsCodes[28];
_dps_nameVals[29] = &_dpsCodes[29];
_dps_nameVals[30] = &_dpsCodes[30];
_dps_nameVals[31] = &_dpsCodes[31];
_dps_nameVals[32] = &_dpsCodes[32];
_dps_nameVals[33] = &_dpsCodes[33];
DPSMapNames(_dpsCurCtxt, 34, _dps_names, _dps_nameVals);
}
}
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[5].length =
_dpsP[75].length = strlen(fontname);
_dpsP[4].val.nameVal = _dpsCodes[0];
_dpsP[7].val.nameVal = _dpsCodes[1];
_dpsP[10].val.nameVal = _dpsCodes[2];
_dpsP[13].val.nameVal = _dpsCodes[3];
_dpsP[16].val.nameVal = _dpsCodes[4];
_dpsP[170].val.nameVal = _dpsCodes[5];
_dpsP[90].val.nameVal = _dpsCodes[6];
_dpsP[25].val.nameVal = _dpsCodes[7];
_dpsP[30].val.nameVal = _dpsCodes[8];
_dpsP[58].val.nameVal = _dpsCodes[9];
_dpsP[36].val.nameVal = _dpsCodes[10];
_dpsP[61].val.nameVal = _dpsCodes[11];
_dpsP[42].val.nameVal = _dpsCodes[12];
_dpsP[64].val.nameVal = _dpsCodes[13];
_dpsP[47].val.nameVal = _dpsCodes[14];
_dpsP[67].val.nameVal = _dpsCodes[15];
_dpsP[49].val.nameVal = _dpsCodes[16];
_dpsP[93].val.nameVal = _dpsCodes[17];
_dpsP[53].val.nameVal = _dpsCodes[18];
_dpsP[55].val.nameVal = _dpsCodes[19];
_dpsP[172].val.nameVal = _dpsCodes[20];
_dpsP[71].val.nameVal = _dpsCodes[21];
_dpsP[100].val.nameVal = _dpsCodes[22];
_dpsP[154].val.nameVal = _dpsCodes[23];
_dpsP[136].val.nameVal = _dpsCodes[24];
_dpsP[108].val.nameVal = _dpsCodes[25];
_dpsP[104].val.nameVal = _dpsCodes[26];
_dpsP[166].val.nameVal = _dpsCodes[27];
_dpsP[162].val.nameVal = _dpsCodes[28];
_dpsP[158].val.nameVal = _dpsCodes[29];
_dpsP[148].val.nameVal = _dpsCodes[30];
_dpsP[144].val.nameVal = _dpsCodes[31];
_dpsP[140].val.nameVal = _dpsCodes[32];
_dpsP[112].val.nameVal = _dpsCodes[33];
_dpsP[75].val.stringVal = _dps_offset;
_dps_offset += (_dpsP[75].length + 3) & ~3;
_dpsP[5].val.stringVal = _dps_offset;
_dps_offset += (_dpsP[5].length + 3) & ~3;
_dpsF.nBytes = _dps_offset+8;
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,1489);
DPSWriteStringChars(_dpsCurCtxt, (char *)fontname, _dpsP[75].length);
DPSWriteStringChars(_dpsCurCtxt, (char *)_dpsCurCtxt, ~(_dpsP[75].length + 3) & 3);
DPSWriteStringChars(_dpsCurCtxt, (char *)fontname, _dpsP[5].length);
DPSWriteStringChars(_dpsCurCtxt, (char *)_dpsCurCtxt, ~(_dpsP[5].length + 3) & 3);
}
#line 151 "ControlPointWraps.psw"